import request from '@/utils/request'

export function login(query) {
  return request({
    url: '/sora/auth/auth/login/' + query.name + '/' + query.password,
    method: 'get',
  })
}

export function logOut() {
  return request({
    url: '/sora/auth/auth/logOut',
    method: 'get',
  })
}